package com.bdqn.gulimall.coupon;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


/**
 * @EnableDiscoveryClient ==》将gulimall-coupon整个项目"注册"到nacos
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.bdqn.gulimall.coupon.dao")
public class GuLiMallCouPonApplication {

    public static void main(String[] args) {
        SpringApplication.run(GuLiMallCouPonApplication.class, args);
    }

}
